package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;
import sun.util.resources.ga.LocaleNames_ga;

import java.util.List;

public interface IDepartmentService {
    void saveOrUpdate(Department department);
    void delete(Long id);
    Department get(Long id);
    PageResult query(QueryObject qo);

    List<Department> getAll();
}
